package com.ice.work.study.design.pattern.factory.annotation;

import com.ice.work.study.design.pattern.factory.enums.ProductType;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author DELL
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface ProductHandler {
    ProductType value() ;
}
